package com.app.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

//创业蓝海 招商引资实体
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("lm_merchants")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MerchantsModel {
    private Integer id;
    private String title;//标题
    private String content;//文本
    private String coverImage;//封面图url
    private Integer sort;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp updateTime;
}
